package com.kd.spring.service;

import org.springframework.stereotype.Component;

@Component("helloService")
public class HelloService {
	private String info;

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}
	
	public void sayHello(){
		System.out.println("hello spring");
	}
}
